<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->

<head>
  <meta charset="utf-8" />
  <title>安庆调度</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta content="width=device-width, initial-scale=1.0" name="viewport" />
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <meta content="" name="description" />
  <meta content="" name="author" />
  <!-- BEGIN GLOBAL MANDATORY STYLES -->
  <link href=" ../../Global/Plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  <link href="../../Global/Plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
  <link href="../../Global/Plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  <!-- BEGIN THEME STYLES -->
  <link href='../../Application/Global/Css/themes/darkblue.css' rel='stylesheet' type='text/css' id='themes_color' />
  <!-- END THEME STYLES -->
  <!-- END GLOBAL MANDATORY STYLES -->
  <!-- <link rel="shortcut icon" href="../../application/global/favicon.ico" /> </head> -->
  <!-- END HEAD -->
  <!-- BEGIN BODY -->
  <!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
  <!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
  <!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
  <!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
  <!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
  <!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
  <!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
  <!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
  <!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->

  <body class="page-md">
    <!-- BEGIN CONTAINER -->
    <div class="page-container no-margin">
      <!-- BEGIN CONTENT -->
      <div class="page-content">
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
          <div class="col-md-4">
            <div class="portlet box default-color" data-model="pagetree">
              <div class="portlet-title">
                <div class="caption"> <i class="fa fa-gift"></i> 服务列表 </div>
                <div class="tools"> <a href="javascript:;" class="collapse" 　data-bind="preventBubble: 'click'"></a> <a href="javascript:;" class="reload" data-bind=""></a> <a href="javascript:;" class="fullscreen"></a> </div>
              </div>
              <div class="portlet-body">
                <div class="table-toolbar">
                  <div class="row">
                    <div class="col-md-12">
                      <div class="btn-group float-right"> <a href="javascript:;" class="btn blue" data-bind="click:addService">
                                                新增服务
                        </a> </div>
                    </div>
                  </div>
                </div>
                <!--Page树Start-->
                <div class="scroller" style="height: 600px;" data-height="600px;">
                  <table class="table table-striped table-bordered table-hover ">
                    <thead>
                      <!--表头操作部分Start-->
                      <tr>
                        <!-- ko foreach: headers -->
                        <th> <a href="javascript:;" data-bind="text: text"></a>
                          <!-- <i data-bind="visible: field == $root.orderField() && $root.isAsc()" class="fa fa-chevron-up float-right"></i>  -->
                          <!-- <i data-bind="visible: field == $root.orderField() && !$root.isAsc()"  class="fa fa-chevron-down float-right"></i>  --></th>
                        <!-- ko if:$index() == $root.headers().length -1 -->
                        <th style="width:8%"> 操作 </th>
                        <!-- /ko -->
                        <!-- /ko -->
                      </tr>
                      <!--表头操作部分End-->
                    </thead>
                    <tbody>
                      <!-- ko foreach: recordSet -->
                      <tr class="odd gradeX" data-bind="click:$root.rowclick">
                        <td data-bind="text:serviceName"></td>
                        <td data-bind="text:cron"></td>
                        <td data-bind="text:jobName"></td>
                        <td data-bind="text:isStart==1?'启动':'暂停'"></td>
                        <td> <a href="javascript:;" class="btn default btn-xs purple" data-bind="click:$root.editInfo">编辑</a> <a href="javascript:;" class="btn btn-xs red " data-bind="click:$root.deleteInfo,preventBubble: 'click'"> 删除 </a>
                          <!-- ko if: isStart==1 -->
                          <a href="javascript:;" class="btn btn-xs blue " data-bind="click:$root.jobPause,preventBubble: 'click'">暂停</a>
                          <!-- /ko -->
                            <!-- ko if: isStart==0 -->
                            <a href="javascript:;" class="btn btn-xs blue " data-bind="click:$root.start,preventBubble: 'click'">启动</a>
                            <!-- /ko -->
                        </td>
                      </tr>
                      <!-- /ko -->
                    </tbody>
                  </table>
                </div>
                <!--Page树End-->
              </div>
            </div>
          </div>
          <div class="col-md-4">
            <div class="portlet box default-color" data-model="autoextractInfo">
              <div class="portlet-title">
                <div class="caption"> <i class="fa fa-gift"></i> 服务列表 </div>
                <div class="tools"> <a href="javascript:;" class="collapse" 　data-bind="preventBubble: 'click'"></a> <a href="javascript:;" class="reload" data-bind=""></a> <a href="javascript:;" class="fullscreen"></a> </div>
              </div>
              <div class="portlet-body">
                <div class="table-toolbar">
                  <div class="row">
                    <div class="col-md-12">
                      <div style="float:left;"> <label class="label label-danger">父级页面：<font data-bind=""></font></label> </div>
                      <div class="btn-group float-right">
                        <!--ko if:serviceId()==-1--><a href="javascript:;" class="btn green" data-bind="click:add">
                                                  新增
                                              </a>
                        <!--/ko-->
                        <!--ko if:serviceId()!=-1--><a href="javascript:;" class="btn blue-dark" data-bind="click:update">
                                                  保存
                                              </a>
                        <!--/ko--><a href="javascript:;" class="btn black" data-bind="click:$root.deleteInfo">
                                                  删除
                                              </a> <a href="javascript:;" class="btn black" data-bind="click:$root.reset">
                                                  取消
                                              </a> </div>
                    </div>
                  </div>
                </div>
                <div class="portlet-body form" style="display: block;">
                  <div class="scroller" style="height: 600px;" data-height="600px;">
                    <div class="form-horizontal">
                      <div class="form-body">
                        <div class="form-group"> <label class="col-md-4 control-label req">服务名称</label>
                          <div class="col-md-8">
                            <div class="input-group"> <input type="text" class="form-control" data-bind="value:serviceName" data-rule="required"> </div>
                          </div>
                        </div>
                        <div class="form-group"> <label class="col-md-4 control-label req">服务地址</label>
                          <div class="col-md-8">
                            <div class="input-group"> <input type="text" class="form-control" data-rule="required" data-bind="value:url"> </div>
                          </div>
                        </div>
                        <div class="form-group"> <label class="col-md-4 control-label req">任务编码</label>
                          <div class="col-md-8">
                            <div class="input-group"> <input type="text" class="form-control" data-rule="required" data-bind="value:jobName"> </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="col-md-4">
            <div class="row">
              <div class="portlet box default-color" data-model="rule">
                <div class="portlet-title">
                  <div class="caption"> <i class="fa fa-gift"></i> 服务列表 </div>
                  <div class="tools"> <a href="javascript:;" class="collapse" 　data-bind="preventBubble: 'click'"></a> <a href="javascript:;" class="reload"></a> <a href="javascript:;" class="fullscreen"></a> </div>
                </div>
                <div class="portlet-body">
                  <div class="table-toolbar">
                    <div class="row">
                      <div class="col-md-12">
                        <div class="btn-group float-left"> <input id=“a” class="form-control rule" disabled data-bind="value:'00 ' +(checkedHour().length==0 ? '*' :checkedHour())+' '+(checkedDay().length==0?'*':checkedDay())+'  *?*'" style="width:400px" /> </div>
                        <div class="btn-group float-right">
                       </div>
                      </div>
                    </div>
                  </div>
                  <div class="scroller" style="height: 571px;" data-height="571px;">
                    <ul id="myTab" class="nav nav-tabs">
                      <li class="active"> <a href="#home" data-toggle="tab">
                                小时
                            </a> </li>
                      <li><a href="#ios" data-toggle="tab">日</a></li>
                    </ul>
                    <div id="myTabContent" class="tab-content">
                      <div class="tab-pane fade in active" id="home">
                        <p> <input type="radio" name="b" class="hour" value="1"    id="defaulthour"/>每小时 允许的通配符[, - * /]</p>
                        <p> <input type="radio" name="b" class="hour" value="2" id="hour" />指定 </p>
                        <!-- ko foreach: hourData --><input type="checkbox" data-bind="value:$data,checked:$root.checkedHour,attr:{disabled:$root.hourType()==1}" /> <span data-bind="text:$data"></span>
                        <!-- /ko --><br /> </div>
                      <div class="tab-pane fade" id="ios">
                        <p> <input type="radio" name="a" class="day" value="1"      id="defaultday" />每日 允许的通配符[, - * /]</p>
                        <p> <input type="radio" name="a" class="day" value="2" id=“day” />指定 </p>
                        <!-- ko foreach: dayData --><input type="checkbox" data-bind="value:$data,checked:$root.checkedDay,attr:{disabled:$root.dayType()==1}" /> <span data-bind="text:$data"></span>
                        <!-- /ko -->
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- END PAGE CONTENT-->
    </div>
    <!-- END CONTENT -->
    </div>
    <!--[if lt IE 9]>
    <script src="../../Global/Plugins/excanvas.min.js"></script>
    <script src="../../Global/Plugins/respond.min.js"></script>
    <![endif]-->
    <script src="../../Global/Scripts/require.js"></script>
    <script src="../../Global/Scripts/akcy.config.js"></script>
    <script src="Scripts/autoextract.js"></script>
  </body>
  <!-- END BODY -->

</html>
